#include "mythread.hpp"

void *func(void *args)
{
    char *name = (char *)args;
    std::cout << name << std::endl;
    return nullptr;
}
int main()
{
    pthread_t tid;
    std::string name = "thread -1";
    MyThread th(name.c_str(), tid, func);
    th.Start();
    th.Join();

    sleep(100);
    return 0;
}